package com.lemon.exam.common.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 下拉选择视图对象
 *
 * @author Lemon
 * @since 2025/5/5 11:52
 */
@Getter
@Setter
@ToString
@Schema(name = "下拉选择 - 视图对象")
public class SelectVO {
    private String value;
    private String label;
    private boolean disabled;

    public SelectVO(String value, String label) {
        this.value = value;
        this.label = label;
    }

    public SelectVO(String value, String label, boolean disabled) {
        this.value = value;
        this.label = label;
        this.disabled = disabled;
    }
}
